<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:16:19 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git clean</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Administration">
                                Administration                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="f2faf3bb603fe138d69c375b8e0a482d4891e31c2275e7d47732f6b2625108e5/a5" data-source="git-clean" onmousemove="i18n(this)">git-clean</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="885ba342877eb98729f37b201ace7136639b45d5dd5ca048ff41cc5e1e6c0dbc/1e" data-source="git-clean - Remove untracked files from the working tree" onmousemove="i18n(this)">git-clean &mdash; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&zcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git clean <span class="hljs-selector-attr">[-d]</span> <span class="hljs-selector-attr">[-f]</span> <span class="hljs-selector-attr">[-i]</span> <span class="hljs-selector-attr">[-n]</span> <span class="hljs-selector-attr">[-q]</span> <span class="hljs-selector-attr">[-e &lt;pattern&gt;]</span> <span class="hljs-selector-attr">[-x | -X]</span> <span class="hljs-selector-attr">[--]</span> <span class="hljs-selector-attr">[&lt;pathspec&gt;&hellip;&ZeroWidthSpace;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="3b8b5679f8d9915a8141785072df1b46a58452e7b6549c6524fd7cde9e4ee528/d5" data-source="Cleans the working tree by recursively removing files that are not under version control, starting from the current directory." onmousemove="i18n(this)">&Ocy;&chcy;&icy;&shchcy;&acy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &rcy;&iecy;&kcy;&ucy;&rcy;&scy;&icy;&vcy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&yacy;&yacy; &fcy;&acy;&jcy;&lcy;&ycy;, &ncy;&iecy; &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&iecy;&scy;&yacy; &pcy;&ocy;&dcy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&iecy;&mcy; &vcy;&iecy;&rcy;&scy;&icy;&jcy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;.</span></p> <p><span data-i18n="859f1f8c7b33670b36cf3e3a21a37db03885ff70417f33dde6f555b854b4b847/3d" data-source="Normally, only files unknown to Git are removed, but if the &lt;code&gt;-x&lt;/code&gt; option is specified, ignored files are also removed. This can, for example, be useful to remove all build products." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &fcy;&acy;&jcy;&lcy;&ycy;, &ncy;&iecy;&icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ycy;&iecy;  Git , &ncy;&ocy; &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>-x</code> , &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &tcy;&acy;&kcy;&zhcy;&iecy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &dcy;&lcy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&khcy; &pcy;&rcy;&ocy;&dcy;&ucy;&kcy;&tcy;&ocy;&vcy; &scy;&bcy;&ocy;&rcy;&kcy;&icy;.</span></p> <p><span data-i18n="72c016a14c2d0c29520c8099a82cd0bc1127e7e08d3e5a382dbae30c68fe11aa/a8" data-source="If any optional &lt;code&gt;&amp;lt;pathspec&amp;gt;...&lt;/code&gt; arguments are given, only those paths that match the pathspec are affected." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ycy; &kcy;&acy;&kcy;&icy;&iecy;-&lcy;&icy;&bcy;&ocy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy;  <code>&lt;pathspec&gt;...</code> , &zcy;&acy;&tcy;&rcy;&acy;&gcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy; &pcy;&ucy;&tcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &pcy;&ucy;&tcy;&icy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-clean.txt--d"><span data-i18n="50e09407a18bedd64baf0b99825a8178d7446731615b85452ea6b99573469dcc/b1" data-source="-d" onmousemove="i18n(this)">-d</span></dt> <dd> <p><span data-i18n="d810838d44bcef095a5d2a78e85fcb3a56747c34cc23b3883288456727e3947e/3a" data-source="Normally, when no &amp;lt;pathspec&amp;gt; is specified, git clean will not recurse into untracked directories to avoid removing too much. Specify -d to have it recurse into such directories as well. If a &amp;lt;pathspec&amp;gt; is specified, -d is irrelevant; all untracked files matching the specified paths (with exceptions for nested git directories mentioned under &lt;code&gt;--force&lt;/code&gt;) will be removed." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &lt;pathspec&gt; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;,  git  clean &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&iecy;&kcy;&ucy;&rcy;&scy;&icy;&vcy;&ncy;&ocy; &ocy;&bcy;&rcy;&acy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &kcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &scy;&lcy;&icy;&shcy;&kcy;&ocy;&mcy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&gcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; -d, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy; &tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&lcy; &rcy;&iecy;&kcy;&ucy;&rcy;&scy;&icy;&yucy; &vcy; &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;. &IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &lt;pathspec&gt;, -d &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;; &vcy;&scy;&iecy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &pcy;&ucy;&tcy;&yacy;&mcy; (&zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &vcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;  git , &ucy;&pcy;&ocy;&mcy;&yacy;&ncy;&ucy;&tcy;&ycy;&khcy; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <code>--force</code> ), &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;.</span></p> </dd> <dt id="Documentation/git-clean.txt--f"><span data-i18n="0e6503c1ece40e4ea7668463248ea2716eb37643f2c2c605f8bcee4d195a1705/83" data-source="-f" onmousemove="i18n(this)">-f</span></dt> <dt id="Documentation/git-clean.txt---force"><span data-i18n="be262a109369ff4174b4b7a7aa917a83ca99dc94093be7d497384bb8c0f9cee6/ef" data-source="--force" onmousemove="i18n(this)">--force</span></dt> <dd> <p><span data-i18n="37755505e5e464a35ed370b0c66cd737ab9c3a2a66bd354c821583bc8a856ad6/71" data-source="If the Git configuration variable clean.requireForce is not set to false, &lt;code&gt;git clean&lt;/code&gt; will refuse to delete files or directories unless given -f or -i. Git will refuse to modify untracked nested git repositories (directories with a .git subdirectory) unless a second -f is given." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  Git  clean.requireForce &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; false,  <code>git clean</code>  &ocy;&tcy;&kcy;&acy;&zhcy;&iecy;&tcy;&scy;&yacy; &ucy;&dcy;&acy;&lcy;&yacy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; -f &icy;&lcy;&icy; -i.  Git  &ocy;&tcy;&kcy;&acy;&zhcy;&iecy;&tcy;&scy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &vcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  git  (&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &scy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&mcy; .  git ), &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &vcy;&tcy;&ocy;&rcy;&ocy;&jcy; &kcy;&lcy;&yucy;&chcy; -f.</span></p> </dd> <dt id="Documentation/git-clean.txt--i"><span data-i18n="444c8974fcf3d4d990db382d0a6ed1d69ffc4caa10da28afd7ab561fd7f27ced/9f" data-source="-i" onmousemove="i18n(this)">-i</span></dt> <dt id="Documentation/git-clean.txt---interactive"><span data-i18n="8de13a6788f37255da5b35cac31b207d90b4219bd9af6d3da5bc2a30a027dae9/6e" data-source="--interactive" onmousemove="i18n(this)">--interactive</span></dt> <dd> <p><span data-i18n="1ea0f6a4b795c0f894b5f0dbeaf72b119745ff50dd91df2f0a60d3f6fa06587a/ca" data-source="Show what would be done and clean files interactively. See &amp;ldquo;Interactive mode&amp;rdquo; for details." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ocy;, &icy; &ocy;&chcy;&icy;&scy;&tcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &laquo;&Icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &rcy;&iecy;&zhcy;&icy;&mcy;&raquo;.</span></p> </dd> <dt id="Documentation/git-clean.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-clean.txt---dry-run"><span data-i18n="675ca48430023bf861e914e0cf5bbe183efe84bd9d831affc574394bf4edc690/c1" data-source="--dry-run" onmousemove="i18n(this)">--dry-run</span></dt> <dd> <p><span data-i18n="9cf20d96ca836bf890a6debea5a1363a2e2fa97bf0a87ac883494992bd984d4f/71" data-source="Don&amp;rsquo;t actually remove anything, just show what would be done." onmousemove="i18n(this)">&Ncy;&acy; &scy;&acy;&mcy;&ocy;&mcy; &dcy;&iecy;&lcy;&iecy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &ucy;&dcy;&acy;&lcy;&yacy;&jcy;&tcy;&iecy;, &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &pcy;&ocy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ocy;.</span></p> </dd> <dt id="Documentation/git-clean.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-clean.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="8d1863c1f2be958cfd6ae3d095e217d0ff4b82c1738322eed8923bdde7865702/c6" data-source="Be quiet, only report errors, but not the files that are successfully removed." onmousemove="i18n(this)">&Bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &scy;&pcy;&ocy;&kcy;&ocy;&jcy;&ncy;&ycy;, &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&bcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&khcy;, &acy; &ncy;&iecy; &ocy;&bcy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy;.</span></p> </dd> <dt id="Documentation/git-clean.txt--eltpatterngt"><span data-i18n="a9f2bd14215de5e40e3724ba542078e350a5742eed23e0c0f071976acc640d4a/ee" data-source="-e &amp;lt;pattern&amp;gt;" onmousemove="i18n(this)">-e &lt;pattern&gt;</span></dt> <dt id="Documentation/git-clean.txt---excludeltpatterngt"><span data-i18n="7d834caccba2719c55989ed6a800e2113404176367f0d3ce9fc1a8960862bdb9/f5" data-source="--exclude=&amp;lt;pattern&amp;gt;" onmousemove="i18n(this)">--exclude=&lt;pattern&gt;</span></dt> <dd> <p><span data-i18n="dba1df7d4c25c70ba328055ffca610f6ba085eb654f98471e5ade98fb9582b21/04" data-source="Use the given exclude pattern in addition to the standard ignore rules (see &lt;a href=&quot;gitignore&quot;&gt;gitignore[5]&lt;/a&gt;)." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&mcy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy;&mcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&scy;&mcy;.  <a href="gitignore.html">gitignore[5]</a> ).</span></p> </dd> <dt id="Documentation/git-clean.txt--x"><span data-i18n="a420962426d711880258b007d6767792992f6700fa93f127dafe1f7333e50466/c6" data-source="-x" onmousemove="i18n(this)">-x</span></dt> <dd> <p><span data-i18n="09a0d11ab7e44731e10899fbbb49c276d4d7c82aeabdd87ab01efa7ad6412f06/24" data-source="Don&amp;rsquo;t use the standard ignore rules (see &lt;a href=&quot;gitignore&quot;&gt;gitignore[5]&lt;/a&gt;), but still use the ignore rules given with &lt;code&gt;-e&lt;/code&gt; options from the command line. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with &lt;code&gt;git restore&lt;/code&gt; or &lt;code&gt;git reset&lt;/code&gt;) to create a pristine working directory to test a clean build." onmousemove="i18n(this)">&Ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&iecy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&scy;&mcy;.  <a href="gitignore.html">gitignore[5]</a> ), &ncy;&ocy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;&mcy;&icy;  <code>-e</code>  &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &pcy;&rcy;&ocy;&dcy;&ucy;&kcy;&tcy;&ycy; &scy;&bcy;&ocy;&rcy;&kcy;&icy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; (&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &vcy; &scy;&ocy;&chcy;&iecy;&tcy;&acy;&ncy;&icy;&icy; &scy;  <code>git restore</code>  &icy;&lcy;&icy;  <code>git reset</code> ) &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &chcy;&icy;&scy;&tcy;&ocy;&gcy;&ocy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &dcy;&lcy;&yacy; &tcy;&iecy;&scy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &chcy;&icy;&scy;&tcy;&ocy;&jcy; &scy;&bcy;&ocy;&rcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-clean.txt--X"><span data-i18n="cac035b119f6acebb6eed53a95904279a075799efaab65a3293453d551b53957/e9" data-source="-X" onmousemove="i18n(this)">-X</span></dt> <dd> <p><span data-i18n="b3cc1774050c4f11cf5661ecfd210392733bf3e70f1754d91284eda8c78387af/95" data-source="Remove only files ignored by Git. This may be useful to rebuild everything from scratch, but keep manually created files." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &fcy;&acy;&jcy;&lcy;&ycy;, &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&iecy; Git. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &dcy;&lcy;&yacy; &vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&gcy;&ocy; &scy; &ncy;&ucy;&lcy;&yacy;, &ncy;&ocy; &pcy;&rcy;&icy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&khcy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_interactive_mode"><span data-i18n="8fedf63610c647aa1990ec2b36fff7c0f2313fa6bfb0afab6d75fd56e8073a9f/9c" data-source="Interactive mode" onmousemove="i18n(this)">Interactive mode</span></h2> <div> <p><span data-i18n="ced25933eca17fa2e21d7a14ec31830949f43b1dd389826742413664ec52cae0/a6" data-source="When the command enters the interactive mode, it shows the files and directories to be cleaned, and goes into its interactive command loop." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&iecy;&rcy;&iecy;&khcy;&ocy;&dcy;&icy;&tcy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &rcy;&iecy;&zhcy;&icy;&mcy;, &ocy;&ncy;&acy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &fcy;&acy;&jcy;&lcy;&ycy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ocy;&chcy;&icy;&scy;&tcy;&icy;&tcy;&softcy;, &icy; &pcy;&iecy;&rcy;&iecy;&khcy;&ocy;&dcy;&icy;&tcy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ycy;&jcy; &tscy;&icy;&kcy;&lcy;.</span></p> <p><span data-i18n="3e5b412f76e589cd81deef8f9b85807a8831021043a86087d109caa2580276f4/31" data-source="The command loop shows the list of subcommands available, and gives a prompt &amp;quot;What now&amp;gt; &amp;quot;. In general, when the prompt ends with a single &lt;code&gt;&amp;gt;&lt;/code&gt;, you can pick only one of the choices given and type return, like this:" onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ycy;&jcy; &tscy;&icy;&kcy;&lcy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&khcy; &pcy;&ocy;&dcy;&kcy;&ocy;&mcy;&acy;&ncy;&dcy; &icy; &vcy;&ycy;&dcy;&acy;&iecy;&tcy; &pcy;&rcy;&icy;&gcy;&lcy;&acy;&shcy;&iecy;&ncy;&icy;&iecy;  &quot;What now&gt; &quot; . &Vcy; &ocy;&bcy;&shchcy;&iecy;&mcy;, &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&rcy;&icy;&gcy;&lcy;&acy;&shcy;&iecy;&ncy;&icy;&iecy; &zcy;&acy;&kcy;&acy;&ncy;&chcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&dcy;&ncy;&icy;&mcy;  <code>&gt;</code>  , &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&icy;&ncy; &icy;&zcy; &pcy;&rcy;&iecy;&dcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ocy;&vcy; &icy; &vcy;&vcy;&iecy;&scy;&tcy;&icy; return, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;:</span></p> <div> <div> <pre class="hljs language-sql">    <span class="hljs-operator">*</span><span class="hljs-operator">*</span><span class="hljs-operator">*</span> Commands <span class="hljs-operator">*</span><span class="hljs-operator">*</span><span class="hljs-operator">*</span>
        <span class="hljs-number">1</span>: clean                <span class="hljs-number">2</span>: <span class="hljs-keyword">filter</span> <span class="hljs-keyword">by</span> <span class="hljs-keyword">pattern</span>    <span class="hljs-number">3</span>: <span class="hljs-keyword">select</span> <span class="hljs-keyword">by</span> numbers
        <span class="hljs-number">4</span>: ask <span class="hljs-keyword">each</span>             <span class="hljs-number">5</span>: quit                 <span class="hljs-number">6</span>: help
    What now<span class="hljs-operator">&gt;</span> <span class="hljs-number">1</span></pre> </div> </div> <p><span data-i18n="82e1d4b0a5fb7e5ece036b407e579daa09fddd1da9dc43e4fa5537ff6aa58012/29" data-source="You also could say &lt;code&gt;c&lt;/code&gt; or &lt;code&gt;clean&lt;/code&gt; above as long as the choice is unique." onmousemove="i18n(this)">&Vcy;&ycy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;  <code>c</code>  &icy;&lcy;&icy;  <code>clean</code>  &vcy;&ycy;&shcy;&iecy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy;&bcy;&ocy;&rcy; &ucy;&ncy;&icy;&kcy;&acy;&lcy;&iecy;&ncy;.</span></p> <p><span data-i18n="9ffaeb26091add96487054399985c2068efcec69aa52ae90a639fdcccec1e4df/ec" data-source="The main command loop has 6 subcommands." onmousemove="i18n(this)">&Ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ycy;&jcy; &tscy;&icy;&kcy;&lcy; &icy;&mcy;&iecy;&iecy;&tcy; 6 &pcy;&ocy;&dcy;&kcy;&ocy;&mcy;&acy;&ncy;&dcy;.</span></p> <div> <dl> <dt id="Documentation/git-clean.txt-clean"><span data-i18n="3b066804f6d1d077173cfe4d06002e6a61e6f21c2b2e648417962115f1afcd8e/f5" data-source="clean" onmousemove="i18n(this)">clean</span></dt> <dd> <p><span data-i18n="60a5318ebc1d534db84801d9e0c3b9b98865230b99eee8c5d11a6d717720d412/22" data-source="Start cleaning files and directories, and then quit." onmousemove="i18n(this)">&Ncy;&acy;&chcy;&ncy;&icy;&tcy;&iecy; &ocy;&chcy;&icy;&scy;&tcy;&kcy;&ucy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;.</span></p> </dd> <dt id="Documentation/git-clean.txt-filterbypattern"><span data-i18n="44399beef132501a2552081e3eccdcba3881d2dceaa131dcf518ec0993edd4c7/fb" data-source="filter by pattern" onmousemove="i18n(this)">&fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy;</span></dt> <dd> <p><span data-i18n="5d416cce984ea9fc3ac1b67f44a302f066497deb8bb322d6799a61fc3faf5e2f/31" data-source="This shows the files and directories to be deleted and issues an &amp;quot;Input ignore patterns&amp;gt;&amp;gt;&amp;quot; prompt. You can input space-separated patterns to exclude files and directories from deletion. E.g. &amp;quot;*.c *.h&amp;quot; will exclude files ending with &amp;quot;.c&amp;quot; and &amp;quot;.h&amp;quot; from deletion. When you are satisfied with the filtered result, press ENTER (empty) back to the main menu." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &fcy;&acy;&jcy;&lcy;&ycy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy;, &icy; &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;  &quot;Input ignore patterns&gt;&gt;&quot; . &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &vcy;&vcy;&iecy;&scy;&tcy;&icy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&mcy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &icy;&zcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;*.c *.h&quot;  &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy; &icy;&zcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&ycy;, &zcy;&acy;&kcy;&acy;&ncy;&chcy;&icy;&vcy;&acy;&yucy;&shchcy;&icy;&iecy;&scy;&yacy; &ncy;&acy;  &quot;.c&quot;  &icy;  &quot;.h&quot; . &Kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &bcy;&ucy;&dcy;&iecy;&tcy;&iecy; &ucy;&dcy;&ocy;&vcy;&lcy;&iecy;&tcy;&vcy;&ocy;&rcy;&iecy;&ncy;&ycy; &ocy;&tcy;&fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy;, &ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy; ENTER (&pcy;&ucy;&scy;&tcy;&ocy;) &dcy;&lcy;&yacy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy; &vcy; &gcy;&lcy;&acy;&vcy;&ncy;&ocy;&iecy; &mcy;&iecy;&ncy;&yucy;.</span></p> </dd> <dt id="Documentation/git-clean.txt-selectbynumbers"><span data-i18n="b53839848d039fb9a9ea9851a8fca49e6976d88fcc8cc264bdc67a3e3ae865da/43" data-source="select by numbers" onmousemove="i18n(this)">&vcy;&ycy;&bcy;&icy;&rcy;&acy;&tcy;&softcy; &pcy;&ocy; &ncy;&ocy;&mcy;&iecy;&rcy;&acy;&mcy;</span></dt> <dd> <p><span data-i18n="e0445b9b17e64c3673720729971eb3d17ab921c514ad87500ef2a8548a94d730/0e" data-source="This shows the files and directories to be deleted and issues an &amp;quot;Select items to delete&amp;gt;&amp;gt;&amp;quot; prompt. When the prompt ends with double &lt;code&gt;&amp;gt;&amp;gt;&lt;/code&gt; like this, you can make more than one selection, concatenated with whitespace or comma. Also you can say ranges. E.g. &amp;quot;2-5 7,9&amp;quot; to choose 2,3,4,5,7,9 from the list. If the second number in a range is omitted, all remaining items are selected. E.g. &amp;quot;7-&amp;quot; to choose 7,8,9 from the list. You can say &lt;code&gt;*&lt;/code&gt; to choose everything. Also when you are satisfied with the filtered result, press ENTER (empty) back to the main menu." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &fcy;&acy;&jcy;&lcy;&ycy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy;, &icy; &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &pcy;&rcy;&icy;&gcy;&lcy;&acy;&shcy;&iecy;&ncy;&icy;&iecy;  &quot;Select items to delete&gt;&gt;&quot; . &Kcy;&ocy;&gcy;&dcy;&acy; &pcy;&rcy;&icy;&gcy;&lcy;&acy;&shcy;&iecy;&ncy;&icy;&iecy; &zcy;&acy;&kcy;&acy;&ncy;&chcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &dcy;&vcy;&ocy;&jcy;&ncy;&ycy;&mcy;  <code>&gt;&gt;</code> , &kcy;&acy;&kcy; &zcy;&dcy;&iecy;&scy;&softcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&bcy;&ocy;&rcy;&acy;, &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&mcy;&icy; &icy;&lcy;&icy; &zcy;&acy;&pcy;&yacy;&tcy;&ycy;&mcy;&icy;. &Tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy;&ycy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;2-5 7,9&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; 2,3,4,5,7,9 &icy;&zcy; &scy;&pcy;&icy;&scy;&kcy;&acy;. &IEcy;&scy;&lcy;&icy; &vcy;&tcy;&ocy;&rcy;&ocy;&iecy; &chcy;&icy;&scy;&lcy;&ocy; &vcy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy;&iecy; &ocy;&pcy;&ucy;&shchcy;&iecy;&ncy;&ocy;, &vcy;&ycy;&bcy;&icy;&rcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy;&scy;&iecy; &ocy;&scy;&tcy;&acy;&vcy;&shcy;&icy;&iecy;&scy;&yacy; &ecy;&lcy;&iecy;&mcy;&iecy;&ncy;&tcy;&ycy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;7-&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; 7,8,9 &icy;&zcy; &scy;&pcy;&icy;&scy;&kcy;&acy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;  <code>*</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy;. &Tcy;&acy;&kcy;&zhcy;&iecy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ucy;&dcy;&ocy;&vcy;&lcy;&iecy;&tcy;&vcy;&ocy;&rcy;&iecy;&ncy;&ycy; &ocy;&tcy;&fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy;, &ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy; ENTER (&pcy;&ucy;&scy;&tcy;&ocy;) &dcy;&lcy;&yacy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy; &vcy; &gcy;&lcy;&acy;&vcy;&ncy;&ocy;&iecy; &mcy;&iecy;&ncy;&yucy;.</span></p> </dd> <dt id="Documentation/git-clean.txt-askeach"><span data-i18n="3b7a44a22c895b836db7abfa534f833b3eda9b84eac5b72b4e14b6d3ef05a3aa/f5" data-source="ask each" onmousemove="i18n(this)">ask each</span></dt> <dd> <p><span data-i18n="bfae638d6e34ce93283134aac7e490a7d1e870a6c57159edcf2064d86bcff458/a3" data-source="This will start to clean, and you must confirm one by one in order to delete items. Please note that this action is not as efficient as the above two actions." onmousemove="i18n(this)">&Ncy;&acy;&chcy;&ncy;&iecy;&tcy;&scy;&yacy; &ocy;&chcy;&icy;&scy;&tcy;&kcy;&acy;, &icy; &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &pcy;&ocy;&dcy;&tcy;&vcy;&iecy;&rcy;&dcy;&icy;&tcy;&softcy; &ocy;&dcy;&ncy;&ocy; &zcy;&acy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &ecy;&lcy;&iecy;&mcy;&iecy;&ncy;&tcy;&ycy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &ecy;&tcy;&ocy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&iecy; &ncy;&iecy; &tcy;&acy;&kcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;, &kcy;&acy;&kcy; &dcy;&vcy;&acy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-clean.txt-quit"><span data-i18n="8577da2ea54085708b3b851bc50315a36bb740ba5135e747cfb12457b5d3060f/9d" data-source="quit" onmousemove="i18n(this)">quit</span></dt> <dd> <p><span data-i18n="e4da614b783d1f1db935ffe869aa6ecf4247f2640deaabe188f8849d5b6c1f27/16" data-source="This lets you quit without doing any cleaning." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&acy;&mcy; &vcy;&ycy;&jcy;&tcy;&icy;, &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&yacy; &ncy;&icy;&kcy;&acy;&kcy;&ocy;&jcy; &ocy;&chcy;&icy;&scy;&tcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-clean.txt-help"><span data-i18n="106a5842fc5fce6f663176285ed1516dbb1e3d15c05abab12fdca46d60b539b7/86" data-source="help" onmousemove="i18n(this)">help</span></dt> <dd> <p><span data-i18n="d8000498beb99c90adf6491e7c3b283e87e7fc08b9c984b5a02c0ba5ba1fb3b5/50" data-source="Show brief usage of interactive git-clean." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &kcy;&rcy;&acy;&tcy;&kcy;&ocy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&gcy;&ocy; git-clean.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-clean.txt-cleanrequireForce"><span data-i18n="bfa02823f5fb3516c904a8e0b8870fafa1188505609a14e1272fc8ca9972e975/70" data-source="clean.requireForce" onmousemove="i18n(this)">clean.requireForce</span></dt> <dd> <p><span data-i18n="a198cbeec7dbde66d5db173961714cac8a5141a6c50b862976405593386d27ad/6a" data-source="A boolean to make git-clean do nothing unless given -f, -i, or -n. Defaults to true." onmousemove="i18n(this)">boolean , &chcy;&tcy;&ocy;&bcy;&ycy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; git-clean &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &dcy;&iecy;&lcy;&acy;&tcy;&softcy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; -f, -i &icy;&lcy;&icy; -n. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&tcy;&icy;&ncy;&ncy;&ocy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><a href="gitignore.html"><span data-i18n="b85c1ba4038511939e196d0205189897b44bf54c61821703c9cbf56626d63673/72" data-source="gitignore[5]" onmousemove="i18n(this)">gitignore[5]</span></a></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-clean">https://git-scm.com/docs/git-clean</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                            <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-clone.html">
                            git clone                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-column.html">
                            git column                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit.html">
                            git commit                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit-graph.html">
                            git commit-graph                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit-tree.html">
                            git commit-tree                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-config.html">
                            git config                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-count-objects.html">
                            git count-objects                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                   <ins class="adsbygoogle"
        style="display:block; text-align:center;"
        data-ad-layout="in-article"
        data-ad-format="fluid"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="3777011170"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-clean.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>